CVE-2021-32001
K3s/RKE2 bootstrap data is encrypted with empty string if user does not supply a token
Description
K3s in SUSE Rancher allows any user with direct access to the datastore, or a copy of a datastore backup, to extract the cluster's confidential keying material (cluster certificate authority private keys, secrets encryption configuration passphrase, etc.) and decrypt it, without having to know the token value. This issue affects: SUSE Rancher K3s version v1.19.12+k3s1, v1.20.8+k3s1, v1.21.2+k3s1 and prior versions; RKE2 version v1.19.12+rke2r1, v1.20.8+rke2r1, v1.21.2+rke2r1 and prior versions.
INFO
Published Date :
July 28, 2021, 10:15 a.m.
Last Modified :
Nov. 21, 2024, 6:06 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
                                            The following products are affected by CVE-2021-32001
                                            vulnerability.
                                            Even if cvefeed.io is aware of the exact versions of the
                                            products
                                            that
                                            are
                                            affected, the information is not represented in the table below.
                                        
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 2.0 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] | 
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2021-32001.
                                        
| URL | Resource | 
|---|---|
| https://bugzilla.suse.com/show_bug.cgi?id=1188453 | Issue Tracking Vendor Advisory | 
| https://bugzilla.suse.com/show_bug.cgi?id=1188453 | Issue Tracking Vendor Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2021-32001 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2021-32001
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2021-32001 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2021-32001 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            CVE Modified by af854a3a-2127-422b-91ae-364da2661108Nov. 21, 2024 Action Type Old Value New Value Added Reference https://bugzilla.suse.com/show_bug.cgi?id=1188453 
- 
                            CVE Modified by [email protected]May. 14, 2024 Action Type Old Value New Value 
- 
                            Modified Analysis by [email protected]Nov. 14, 2022 Action Type Old Value New Value Removed CWE NIST CWE-327 Added CWE NIST NVD-CWE-Other 
- 
                            CVE Modified by [email protected]Nov. 09, 2022 Action Type Old Value New Value Changed Description A Missing Encryption of Sensitive Data vulnerability in k3s, kde2 of SUSE Rancher allows any user with direct access to the datastore, or a copy of a datastore backup to extract the cluster's confidential keying material (cluster certificate authority private keys, secrets encryption configuration passphrase, etc) and decrypt it, without having to know the token value. This issue affects: SUSE Rancher K3s version v1.19.12+k3s1, v1.20.8+k3s1, v1.21.2+k3s1 and prior versions; RKE2 version v1.19.12+rke2r1, v1.20.8+rke2r1, v1.21.2+rke2r1 and prior versions. K3s in SUSE Rancher allows any user with direct access to the datastore, or a copy of a datastore backup, to extract the cluster's confidential keying material (cluster certificate authority private keys, secrets encryption configuration passphrase, etc.) and decrypt it, without having to know the token value. This issue affects: SUSE Rancher K3s version v1.19.12+k3s1, v1.20.8+k3s1, v1.21.2+k3s1 and prior versions; RKE2 version v1.19.12+rke2r1, v1.20.8+rke2r1, v1.21.2+rke2r1 and prior versions. 
- 
                            Reanalysis by [email protected]Aug. 05, 2022 Action Type Old Value New Value Added CWE NIST CWE-327 
- 
                            Initial Analysis by [email protected]Aug. 13, 2021 Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:P/I:N/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Changed Reference Type https://bugzilla.suse.com/show_bug.cgi?id=1188453 No Types Assigned https://bugzilla.suse.com/show_bug.cgi?id=1188453 Issue Tracking, Vendor Advisory Added CPE Configuration OR *cpe:2.3:a:suse:rancher_k3s:1.19.12:*:*:*:*:*:*:* *cpe:2.3:a:suse:rancher_k3s:1.20.8:*:*:*:*:*:*:* *cpe:2.3:a:suse:rancher_k3s:1.21.2:*:*:*:*:*:*:* *cpe:2.3:a:suse:rancher_rke2:1.19.12:*:*:*:*:*:*:* *cpe:2.3:a:suse:rancher_rke2:1.20.8:*:*:*:*:*:*:* *cpe:2.3:a:suse:rancher_rke2:1.21.2:*:*:*:*:*:*:* 
- 
                            CVE Modified by [email protected]Jul. 30, 2021 Action Type Old Value New Value Changed Description A Missing Encryption of Sensitive Data vulnerability in k3s, kde2 of SUSE Rancher allows any user with direct access to the datastore, or a copy of a datastore backup to extract the cluster's confidential keying material (cluster certificate authority private keys, secrets encryption configuration passphrase, etc) and decrypt it, without having to know the token value. This issue affects: SUSE Rancher K3s version v1.19.12+k3s1, v1.20.8+k3s1, v1.21.2+k3s1 and prior versions; RKE2 version v1.19.12+rke2r1, v1.20.8+rke2r1, v1.21.2+rke2r1 and prior versions. A Missing Encryption of Sensitive Data vulnerability in k3s, kde2 of SUSE Rancher allows any user with direct access to the datastore, or a copy of a datastore backup to extract the cluster's confidential keying material (cluster certificate authority private keys, secrets encryption configuration passphrase, etc) and decrypt it, without having to know the token value. This issue affects: SUSE Rancher K3s version v1.19.12+k3s1, v1.20.8+k3s1, v1.21.2+k3s1 and prior versions; RKE2 version v1.19.12+rke2r1, v1.20.8+rke2r1, v1.21.2+rke2r1 and prior versions. 
Vulnerability Scoring Details
Base CVSS Score: 6.5
Base CVSS Score: 4
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.11 }} -0.02%
score
0.26839
percentile
 
                         
                         
                         
                                             
                                            